﻿using BLL.Interface;
using DAL.Engine.Interface;
using DAL.Mongo;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;

namespace DAL.Test.Service
{
    [Ignore]
    public class UserServiceTest : BaseTest
    {
        private IUserService _userService;

        [TestInitialize]
        public void Setup()
        {
            _userService = Container.GetInstance<IUserService>();
        }

        [TestMethod]
        public void TestGetAll()
        {
            // Act            
            var count = _userService.GetUsers().Count();

            // Assert
            Assert.IsTrue(count > 0);
        }
    }
}
